package com.ruoyi.dynamic.model.pojo.request.app;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Getter
@Setter
@Schema(description = "APP-房间KTV点歌")
public class AppRoomSingAddRequest {

    @Schema(description = "房间id")
    @NotNull(message = "房间id不能为空")
    private Long roomId;

    @Schema(description ="音乐资源编号")
    @NotBlank(message = "音乐资源编号不能为空")
    private String songCode;

    @Schema(description ="音乐海报")
    @NotBlank(message = "音乐海报不能为空")
    private String poster;

    @Schema(description ="音乐名称")
    @NotBlank(message = "音乐名称不能为空")
    private String name;

    @Schema(description ="歌手名称")
    @NotBlank(message = "歌手名称不能为空")
    private String singer;

    @Schema(description ="音乐资源总时长")
    @NotNull(message = "音乐资源总时长不能为空")
    private Integer duration;

    @Schema(description ="音乐高潮片段的结束时间点，单位毫秒.")
    @NotNull(message = "音乐高潮片段的结束时间点不能为空")
    private Long endTimeMs;

    @Schema(description ="音乐高潮片段的开始时间点，单位毫秒.")
    @NotNull(message = "音乐高潮片段的开始时间点不能为空")
    private Long startTimeMs;

}
